package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.OrderDto;
import com.itheima.reggie.entity.Order;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.PageParam;

import javax.servlet.http.HttpSession;

/**
 * @BelongsProject: java8-reggie
 * @BelongsPackage: com.itheima.reggie.service
 * @Author: lin
 * @CreateTime: 2022-10-24  13:26
 * @Description:
 * @Version: 1.0
 */
public interface OrdersService extends IService<Orders> {

    IPage<OrderDto> pageAll(PageParam pageParam);
    int submitOrder(Orders orders ,HttpSession session);
}
